from django.urls import path
from . import views

urlpatterns = [
    path("createSpace", views.CreateSpace.as_view()),
    path("getAllSpace", views.GetAllSpace.as_view()),
    path("getOneSpace", views.GetOneSpace.as_view()),
    path("getUserJoinSpace", views.GetUserJoinSpace.as_view()),
    path("getUserCreateSpace", views.GetUserCreateSpace.as_view()),
    path("joinSpace", views.UserJoinSpace.as_view()),
    path("exitSpace", views.UserExitSpace.as_view()),
    path("getUserSpace", views.GetUserSpace.as_view()),
    path("updateSpaceMessage", views.UpdateSpaceMessage.as_view()),
    path("deleteSpace", views.DeleteSpace.as_view()),
    path("getSpaceUser", views.GetSpaceUser.as_view()),
    path("shareSpace", views.UserShareSpace.as_view()),
    path("checkShare", views.CheckShareSpace.as_view()),
]
